package gfx;

import core.Vector2;

/**
 * 
 * An instance which declares some methods for objects with logic to update.
 * 
 * @author lueko.voss
 *
 */
public interface Tickable {

	/**
	 * Handles the logic.
	 */
    public void tick();
    
    /**
     * @return Returns the position as a Vector2.
     */
    public Vector2 getPos();
    
    /**
     * @return Returns the size as a Vector2.
     */
    public Vector2 getSize();
    
    /**
     * @return Returns whether an object is removed.
     */
    public boolean removed();
    
    /**
     * @return Returns the specific ID of a tickable.
     */
    public int getID();
    
}
